package com.example.wangshuo.zyfypt_205ws.service;


import com.example.wangshuo.zyfypt_205ws.bean.ArticleBean;
import com.example.wangshuo.zyfypt_205ws.bean.VideoBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by wangshuo on 2017/4/19.
 */

//文章访问的Retrofit接口
public interface Service {
    @GET("api.php/listspecial/mod/{mod}")
    Call<List<VideoBean>> getList
            (@Path("mod")String mod,
             @Query("page") int page,
             @Header("SessionID") String sessionID);


}
